package cn.edu.lingnan.service;

import cn.edu.lingnan.dao.C_VMapper;
import cn.edu.lingnan.pojo.C_V;

import java.util.List;

public class C_VServiceMysqlImpl implements C_VService{
    private C_VMapper c_vMapper;

    public void setC_vMapper(C_VMapper c_vMapper) {
        this.c_vMapper = c_vMapper;
    }

    @Override
    public List<C_V> findAllVac_Over_Num() {
        return c_vMapper.findAllVac_Over_Num();
    }

    @Override
    public List<C_V> findAllVac_Over_Num_isdelete() {
        return null;
    }

    @Override
    public C_V findVac_Over_NumByCountry_idAndVac_id(String country_id, String vac_id) {
        return c_vMapper.findVac_Over_NumByCountry_idAndVac_id(country_id,vac_id);
    }

    @Override
    public int insertInfotoC_V(C_V _sd) {
        return c_vMapper.insertInfotoC_V(_sd);
    }

    @Override
    public int updataC_V(C_V _sd) {
        return c_vMapper.updataC_V(_sd);
    }

    @Override
    public boolean deleteC_V(String country_id, String vac_id) {
        return c_vMapper.deleteC_V(country_id,vac_id);
    }
}
